package com.wzz.pojo.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.wzz.pojo.BugDetail;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BugDetailAndBugProjectVo extends BugDetail {

    /**
     * 自动增长
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 对应项目表的主键
     */
    private Long projectid;

    /**
     * 10:文字错误 20:次要错误 30:严重错误
     */
    private Integer severity;

    /**
     *
     */
    private String title;

    /**
     * 当前时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdate;

    private String reportuser;

    private String name;
}
